import redis
import time

def RedisVer(host):
    r = redis.Redis(host)
    info = r.info()
    return info['redis_version']

def ShowRedisInfo(host):
    r = redis.Redis(redis_svr)
    info = r.info()
    for key in info:
        print key, '=', info[key]

def ShowRedis(host):
    r = redis.Redis(host)
    keys = r.keys()
    for key in keys:
        print key, '=' , r[key]
        
                
if __name__ == '__main__':
    redis_svr =  'localhost'

    
    print 'end'